# Contributor: Mark Hills <mark@xwax.org>
# Maintainer: Mark Hills <mark@xwax.org>
pkgname=xosview
pkgver=1.24
pkgrel=0
pkgdesc="The classic system monitoring tool"
url="https://www.pogo.org.uk/~mark/xosview/"
arch="all"
license="GPL-2.0-only"
makedepends="libx11-dev libxpm-dev linux-headers"
options="!check"  # no tests provided
subpackages="$pkgname-doc"
source="https://www.pogo.org.uk/~mark/xosview/releases/xosview-$pkgver.tar.gz"

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" \
		PREFIX=/usr \
		install
}

sha512sums="
aeeecc3be8c4a22bb62062ca51c927ace186c0652f7cc16fbdd7b7d3acb247242d1ad64960cfb4622bd1626fdfcd26ef6938df2b4f788ee8fc44e5cf59396540  xosview-1.24.tar.gz
"
